lcLayerClear Home

Clears a layer, i.e. physically deletes from a block all graphic objects associated with the layer.

 BOOL lcLayerClear (
   HANDLE hLayer,
   HANDLE hBlock
 );

Parameters
hLayer
  Handle to a layer.
hBlock
  Handle to a block which contains entities. If NULL, then this function will delete entities (associated with the layer) from all blocks.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample,   lcBlockClear